// 自定义组件库 插件
import PageTools from './PageTools'
import ImgUpload from './ImgUpload'
import MyCalendar from './MyCalendar'
import MyRadar from './MyRadar'
import ThemePicker from './ThemePicker'
const components = [
  PageTools,
  ImgUpload,
  MyCalendar,
  MyRadar,
  ThemePicker
]

const install = function(Vue) {
  components.forEach(component => {
    Vue.component(component.name, component)
    Vue.component('ThemePicker', ThemePicker)
  })
}

export default {
  install
}
